<div id="content_main" class="clearfix">
			<div id="main_panel_container" class="left">
			<div id="dashboard">
				<h2 class="ico_mug">Property Type</h2>
				<div class="clearfix">
				<div class="left quickview">
					<h3>Add Type</h3>
					<form method="post" enctype="multipart/form-data" action="<?php echo WEB_URL;?>home/property_types"> 	
		  <fieldset id="fieldset">
		  <?php  if(strlen($this->session->userdata('errmsg')) >0){
				echo "<p class='errmsg'>". $this->session->userdata('errmsg') ."</p>";
				$this->session->set_userdata('errmsg','');
			}
			
			?>
			<table width="400">
			<tr>
			<td><b>Property Type</b></td>
			<td style="padding-right:100px;">
			<input type="text" name="proptype" maxlength="25"/></td>
			</tr>
			</table>
			<table width="400">
			<tr>
			<td><input type="submit" name="submit" value="Submit"></td>
			</tr>
		</table>
		<table width="400">
		<tr>
		<td width="50"><b>S.No</b></td>
		<td width="150"><b>Type</b></td>
		<td width="50">&nbsp;</td>
		<td width="150"><b>Action</b></td>
		</tr>
		</table>
		<table width="400">
		<?php if (!empty($proptype)): ?>
				<?php $count=1;?>
				<?php foreach ($proptype as $artproptyperow): ?>
				<?php $proptypeid=$artproptyperow['typeid'];
				?>
		<tr>
		<td width="50"><?php echo $count;?></td>
		<td width="150"><?php print $artproptyperow['propertytype']; ?></td>
		<td width="50">&nbsp;</td>
		<td width="75"><a href="<?php echo WEB_URL .'home/editproptype/'.$proptypeid;?>"><img src="<?php echo WEB_PATH;?>img/edit.jpg"></a></td>
						<td width="75"><a href="<?php echo WEB_URL .'home/deleteproptype/'.$proptypeid;?>"class="delete"><img src="<?php echo WEB_PATH;?>img/cross.png"></a></td>
		<?php $count++;?>
		</tr>
		<?php endforeach; ?>
			<?php endif; ?>
		</table>
		
			</fieldset>
			</form>
				</div></div>	
			</div><!-- end #dashboard -->
			
			
			
			<div id="shortcuts" class="clearfix">
				<h2 class="ico_mug">Panel shortcuts</h2>
				<ul>
					<li class="first_li"><a href=""><img src="<?php echo WEB_PATH;?>img/theme.jpg" alt="themes" /><span>Themes</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/statistic.jpg" alt="statistics" /><span>Statistics</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/ftp.jpg" alt="FTP" /><span>Products</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/users.jpg" alt="Users" /><span>Users</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/comments.jpg" alt="Comments" /><span>Comments</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/gallery.jpg" alt="Gallery" /><span>Gallery</span></a></li>
					<li><a href=""><img src="<?php echo WEB_PATH;?>img/security.jpg" alt="Security" /><span>Security</span></a></li>
					
				</ul>
			</div><!-- end #shortcuts -->
			</div>